﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MyGame
{
    public class MyMapStatic : VisibleGameEntity
    {
        public MyMapStatic(ContentManager content, string strTexture, int nTextures, Vector2 topleft, Vector2 size)
        {
            TopLeft = topleft;
            Size = size;
            Texture2D[] textures = new Texture2D[nTextures];

            textures[0] = content.Load<Texture2D>(strTexture);

            sprites = new List<My2DSprite>();
            My2DSprite tempSprite = new My2DSprite(textures, TopLeft);

            sprites.Add(tempSprite);
            nSprites = 1;
        }
    }
}
